Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding tag queries #791

Merged
merged 4 commits into from
Oct 31, 2024
Merged

adding tag queries #791

merged 4 commits into from
Oct 31, 2024

Conversation

pelikhan
Copy link
Member

@pelikhan pelikhan commented Oct 23, 2024


  • 🔄 Refactor: Modified the parsers.code function to return structured captures instead of a full tree, enhancing clarity and usability.
  • 🆕 New Feature: Introduced a built-in tags query, leveraging the tree-sitter tags query for code navigation, available in multiple languages.
  • 📄 Documentation: Updated the documentation to reflect changes in query handling and added examples for the tags query.
  • 🛠️ Enhancements:
    • Added new .scm files for various languages (e.g., C#, Java, JavaScript) to support the tags query.
    • Implemented a utility to download and update tree-sitter queries from repositories.
  • Testing: Expanded test coverage to include the tags query, ensuring robust functionality and reliability.
  • 📦 Codebase Organization:
    • Added treesitterqueries.json to manage query strings for different languages.
    • Adjusted type definitions to accommodate changes in query result structure.

generated by prd

Copy link

Investigator report

, 961fca4

generated by gai

@pelikhan pelikhan marked this pull request as ready for review October 31, 2024 16:38
@pelikhan pelikhan merged commit c06262d into main Oct 31, 2024
10 of 11 checks passed
@pelikhan pelikhan deleted the code-tags branch October 31, 2024 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant